from dataclasses import dataclass
from typing import Dict, Any

import pandas as pd

from model.FaultType import FaultType


@dataclass
class FaultTypeResult:
    """故障检测结果"""
    fault_type: FaultType
    details: Dict[str, Any]

@dataclass
class FaultDetectionResult:
    """故障检测结果"""
    line_name: str
    fault_detected: bool
    fault_type: str
    details: Dict

